package com.tzl.design_pattern.proxy_pattern;

/**
 * 被代理对象
 *
 * @author Zhilei Tang
 * @date Created in 2020/11/16 20:24
 */
public class TravelPerson implements Travel {
  @Override
  public void buyTrainTicket() {
    System.out.println("北京到上海");
    System.out.println("早上9点出发");
  }
}
